import { legacy_createStore,combineReducers,applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import logger from 'redux-logger'

import reducer from './reducer/reducer'

const allRenducer=combineReducers({
    reducer
})

const createStore =legacy_createStore(allRenducer,applyMiddleware(thunk,logger))
export default createStore;